﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class mdm_MaterialDetermination : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("mdm_MaterialDetermination", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("mdm_MaterialDetermination", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("mdm_MaterialDetermination", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("mdm_MaterialDetermination", "UserName");
        [Column]
        public string VD_Category { get { return _VD_Category; } set { _VD_Category = value; EntityState.FieldChange("VD_Category"); } } private string _VD_Category; public static FieldInfo vD_Category = new FieldInfo("mdm_MaterialDetermination", "VD_Category");
        [Column]
        public string DrpPriority { get { return _DrpPriority; } set { _DrpPriority = value; EntityState.FieldChange("DrpPriority"); } } private string _DrpPriority; public static FieldInfo drpPriority = new FieldInfo("mdm_MaterialDetermination", "DrpPriority");
        [Column]
        public string DMO_DrpPriority { get { return _DMO_DrpPriority; } set { _DMO_DrpPriority = value; EntityState.FieldChange("DMO_DrpPriority"); } } private string _DMO_DrpPriority; public static FieldInfo dMO_DrpPriority = new FieldInfo("mdm_MaterialDetermination", "DMO_DrpPriority");

        [Column]
        public string UserFullName { get { return _UserFullName; } set { _UserFullName = value; EntityState.FieldChange("UserFullName"); } } private string _UserFullName; public static FieldInfo userFullName = new FieldInfo("mdm_MaterialDetermination", "UserFullName");
        [Column]
        public string Department { get { return _Department; } set { _Department = value; EntityState.FieldChange("Department"); } } private string _Department; public static FieldInfo department = new FieldInfo("mdm_MaterialDetermination", "Department");
        [Column]
        public string ApplicationNo { get { return _ApplicationNo; } set { _ApplicationNo = value; EntityState.FieldChange("ApplicationNo"); } } private string _ApplicationNo; public static FieldInfo applicationNo = new FieldInfo("mdm_MaterialDetermination", "ApplicationNo");
        [Column]
        public string SA_Checked { get { return _SA_Checked; } set { _SA_Checked = value; EntityState.FieldChange("SA_Checked"); } } private string _SA_Checked; public static FieldInfo sA_Checked = new FieldInfo("mdm_MaterialDetermination", "SA_Checked");
        [Column]
        public string SA2_Checked { get { return _SA2_Checked; } set { _SA2_Checked = value; EntityState.FieldChange("SA2_Checked"); } } private string _SA2_Checked; public static FieldInfo sA2_Checked = new FieldInfo("mdm_MaterialDetermination", "SA2_Checked");
        [Column]
        public string SA3_Checked { get { return _SA3_Checked; } set { _SA3_Checked = value; EntityState.FieldChange("SA3_Checked"); } } private string _SA3_Checked; public static FieldInfo sA3_Checked = new FieldInfo("mdm_MaterialDetermination", "SA3_Checked");
        [Column]
        public string VD_Checked { get { return _VD_Checked; } set { _VD_Checked = value; EntityState.FieldChange("VD_Checked"); } } private string _VD_Checked; public static FieldInfo vD_Checked = new FieldInfo("mdm_MaterialDetermination", "VD_Checked");
        [Column]
        public string National_Condition_Type { get { return _National_Condition_Type; } set { _National_Condition_Type = value; EntityState.FieldChange("National_Condition_Type"); } } private string _National_Condition_Type; public static FieldInfo national_Condition_Type = new FieldInfo("mdm_MaterialDetermination", "National_Condition_Type");
        [Column]
        public string National_Sorg_DC { get { return _National_Sorg_DC; } set { _National_Sorg_DC = value; EntityState.FieldChange("National_Sorg_DC"); } } private string _National_Sorg_DC; public static FieldInfo national_Sorg_DC = new FieldInfo("mdm_MaterialDetermination", "National_Sorg_DC");
        [Column]
        public string National_Sales_Organization { get { return _National_Sales_Organization; } set { _National_Sales_Organization = value; EntityState.FieldChange("National_Sales_Organization"); } } private string _National_Sales_Organization; public static FieldInfo national_Sales_Organization = new FieldInfo("mdm_MaterialDetermination", "National_Sales_Organization");
        [Column]
        public string Distribution_Channel { get { return _Distribution_Channel; } set { _Distribution_Channel = value; EntityState.FieldChange("Distribution_Channel"); } } private string _Distribution_Channel; public static FieldInfo distribution_Channel = new FieldInfo("mdm_MaterialDetermination", "Distribution_Channel");
        [Column]
        public string National_Division { get { return _National_Division; } set { _National_Division = value; EntityState.FieldChange("National_Division"); } } private string _National_Division; public static FieldInfo national_Division = new FieldInfo("mdm_MaterialDetermination", "National_Division");
        [Column]
        public string National_Valid_From { get { return _National_Valid_From; } set { _National_Valid_From = value; EntityState.FieldChange("National_Valid_From"); } } private string _National_Valid_From; public static FieldInfo national_Valid_From = new FieldInfo("mdm_MaterialDetermination", "National_Valid_From");
        [Column]
        public string National_Valid_To { get { return _National_Valid_To; } set { _National_Valid_To = value; EntityState.FieldChange("National_Valid_To"); } } private string _National_Valid_To; public static FieldInfo national_Valid_To = new FieldInfo("mdm_MaterialDetermination", "National_Valid_To");
        [Column]
        public string National_Proposed_Reason { get { return _National_Proposed_Reason; } set { _National_Proposed_Reason = value; EntityState.FieldChange("National_Proposed_Reason"); } } private string _National_Proposed_Reason; public static FieldInfo national_Proposed_Reason = new FieldInfo("mdm_MaterialDetermination", "National_Proposed_Reason");
        [Column]
        public string All_City { get { return _All_City; } set { _All_City = value; EntityState.FieldChange("All_City"); } } private string _All_City; public static FieldInfo all_City = new FieldInfo("mdm_MaterialDetermination", "All_City");
        [Column]
        public string Some_City { get { return _Some_City; } set { _Some_City = value; EntityState.FieldChange("Some_City"); } } private string _Some_City; public static FieldInfo some_City = new FieldInfo("mdm_MaterialDetermination", "Some_City");
        [Column]
        public string City_Condition_Type { get { return _City_Condition_Type; } set { _City_Condition_Type = value; EntityState.FieldChange("City_Condition_Type"); } } private string _City_Condition_Type; public static FieldInfo city_Condition_Type = new FieldInfo("mdm_MaterialDetermination", "City_Condition_Type");
        [Column]
        public string City_Sorg_DC { get { return _City_Sorg_DC; } set { _City_Sorg_DC = value; EntityState.FieldChange("City_Sorg_DC"); } } private string _City_Sorg_DC; public static FieldInfo city_Sorg_DC = new FieldInfo("mdm_MaterialDetermination", "City_Sorg_DC");
        [Column]
        public string City_Sales_Organization { get { return _City_Sales_Organization; } set { _City_Sales_Organization = value; EntityState.FieldChange("City_Sales_Organization"); } } private string _City_Sales_Organization; public static FieldInfo city_Sales_Organization = new FieldInfo("mdm_MaterialDetermination", "City_Sales_Organization");
        [Column]
        public string City_Channel { get { return _City_Channel; } set { _City_Channel = value; EntityState.FieldChange("City_Channel"); } } private string _City_Channel; public static FieldInfo city_Channel = new FieldInfo("mdm_MaterialDetermination", "City_Channel");
        [Column]
        public string City_Division { get { return _City_Division; } set { _City_Division = value; EntityState.FieldChange("City_Division"); } } private string _City_Division; public static FieldInfo city_Division = new FieldInfo("mdm_MaterialDetermination", "City_Division");
        [Column]
        public string City_Valid_From { get { return _City_Valid_From; } set { _City_Valid_From = value; EntityState.FieldChange("City_Valid_From"); } } private string _City_Valid_From; public static FieldInfo city_Valid_From = new FieldInfo("mdm_MaterialDetermination", "City_Valid_From");
        [Column]
        public string City_Valid_To { get { return _City_Valid_To; } set { _City_Valid_To = value; EntityState.FieldChange("City_Valid_To"); } } private string _City_Valid_To; public static FieldInfo city_Valid_To = new FieldInfo("mdm_MaterialDetermination", "City_Valid_To");
        [Column]
        public string City_Proposed_Reason { get { return _City_Proposed_Reason; } set { _City_Proposed_Reason = value; EntityState.FieldChange("City_Proposed_Reason"); } } private string _City_Proposed_Reason; public static FieldInfo city_Proposed_Reason = new FieldInfo("mdm_MaterialDetermination", "City_Proposed_Reason");
        [Column]
        public string Sold_Condition_Type { get { return _Sold_Condition_Type; } set { _Sold_Condition_Type = value; EntityState.FieldChange("Sold_Condition_Type"); } } private string _Sold_Condition_Type; public static FieldInfo sold_Condition_Type = new FieldInfo("mdm_MaterialDetermination", "Sold_Condition_Type");
        [Column]
        public string Sold_Sorg_DC { get { return _Sold_Sorg_DC; } set { _Sold_Sorg_DC = value; EntityState.FieldChange("Sold_Sorg_DC"); } } private string _Sold_Sorg_DC; public static FieldInfo sold_Sorg_DC = new FieldInfo("mdm_MaterialDetermination", "Sold_Sorg_DC");
        [Column]
        public string Sold_Sales_Organization { get { return _Sold_Sales_Organization; } set { _Sold_Sales_Organization = value; EntityState.FieldChange("Sold_Sales_Organization"); } } private string _Sold_Sales_Organization; public static FieldInfo sold_Sales_Organization = new FieldInfo("mdm_MaterialDetermination", "Sold_Sales_Organization");
        [Column]
        public string Sold_Channel { get { return _Sold_Channel; } set { _Sold_Channel = value; EntityState.FieldChange("Sold_Channel"); } } private string _Sold_Channel; public static FieldInfo sold_Channel = new FieldInfo("mdm_MaterialDetermination", "Sold_Channel");
        [Column]
        public string Sold_Division { get { return _Sold_Division; } set { _Sold_Division = value; EntityState.FieldChange("Sold_Division"); } } private string _Sold_Division; public static FieldInfo sold_Division = new FieldInfo("mdm_MaterialDetermination", "Sold_Division");
        [Column]
        public string Sold_Valid_From { get { return _Sold_Valid_From; } set { _Sold_Valid_From = value; EntityState.FieldChange("Sold_Valid_From"); } } private string _Sold_Valid_From; public static FieldInfo sold_Valid_From = new FieldInfo("mdm_MaterialDetermination", "Sold_Valid_From");
        [Column]
        public string Sold_Valid_To { get { return _Sold_Valid_To; } set { _Sold_Valid_To = value; EntityState.FieldChange("Sold_Valid_To"); } } private string _Sold_Valid_To; public static FieldInfo sold_Valid_To = new FieldInfo("mdm_MaterialDetermination", "Sold_Valid_To");
        [Column]
        public string Sold_Proposed_Reason { get { return _Sold_Proposed_Reason; } set { _Sold_Proposed_Reason = value; EntityState.FieldChange("Sold_Proposed_Reason"); } } private string _Sold_Proposed_Reason; public static FieldInfo sold_Proposed_Reason = new FieldInfo("mdm_MaterialDetermination", "Sold_Proposed_Reason");
        [Column]
        public string Sales_Condition_Type { get { return _Sales_Condition_Type; } set { _Sales_Condition_Type = value; EntityState.FieldChange("Sales_Condition_Type"); } } private string _Sales_Condition_Type; public static FieldInfo sales_Condition_Type = new FieldInfo("mdm_MaterialDetermination", "Sales_Condition_Type");
        [Column]
        public string Sales_Sorg_DC { get { return _Sales_Sorg_DC; } set { _Sales_Sorg_DC = value; EntityState.FieldChange("Sales_Sorg_DC"); } } private string _Sales_Sorg_DC; public static FieldInfo sales_Sorg_DC = new FieldInfo("mdm_MaterialDetermination", "Sales_Sorg_DC");
        [Column]
        public string Sales_Sales_Organization { get { return _Sales_Sales_Organization; } set { _Sales_Sales_Organization = value; EntityState.FieldChange("Sales_Sales_Organization"); } } private string _Sales_Sales_Organization; public static FieldInfo sales_Sales_Organization = new FieldInfo("mdm_MaterialDetermination", "Sales_Sales_Organization");
        [Column]
        public string Sales_Channel { get { return _Sales_Channel; } set { _Sales_Channel = value; EntityState.FieldChange("Sales_Channel"); } } private string _Sales_Channel; public static FieldInfo sales_Channel = new FieldInfo("mdm_MaterialDetermination", "Sales_Channel");
        [Column]
        public string Sales_Division { get { return _Sales_Division; } set { _Sales_Division = value; EntityState.FieldChange("Sales_Division"); } } private string _Sales_Division; public static FieldInfo sales_Division = new FieldInfo("mdm_MaterialDetermination", "Sales_Division");
        [Column]
        public string Sales_Valid_From { get { return _Sales_Valid_From; } set { _Sales_Valid_From = value; EntityState.FieldChange("Sales_Valid_From"); } } private string _Sales_Valid_From; public static FieldInfo sales_Valid_From = new FieldInfo("mdm_MaterialDetermination", "Sales_Valid_From");
        [Column]
        public string Sales_Valid_To { get { return _Sales_Valid_To; } set { _Sales_Valid_To = value; EntityState.FieldChange("Sales_Valid_To"); } } private string _Sales_Valid_To; public static FieldInfo sales_Valid_To = new FieldInfo("mdm_MaterialDetermination", "Sales_Valid_To");
        [Column]
        public string Sales_Proposed_Reason { get { return _Sales_Proposed_Reason; } set { _Sales_Proposed_Reason = value; EntityState.FieldChange("Sales_Proposed_Reason"); } } private string _Sales_Proposed_Reason; public static FieldInfo sales_Proposed_Reason = new FieldInfo("mdm_MaterialDetermination", "Sales_Proposed_Reason");
        [Column]
        public string SA4_Checked { get { return _SA4_Checked; } set { _SA4_Checked = value; EntityState.FieldChange("SA4_Checked"); } } private string _SA4_Checked; public static FieldInfo sA4_Checked = new FieldInfo("mdm_MaterialDetermination", "SA4_Checked");
        [Column]
        public string Region_Condition_Type { get { return _Region_Condition_Type; } set { _Region_Condition_Type = value; EntityState.FieldChange("Region_Condition_Type"); } } private string _Region_Condition_Type; public static FieldInfo region_Condition_Type = new FieldInfo("mdm_MaterialDetermination", "Region_Condition_Type");
        [Column]
        public string Region_Sorg_DC { get { return _Region_Sorg_DC; } set { _Region_Sorg_DC = value; EntityState.FieldChange("Region_Sorg_DC"); } } private string _Region_Sorg_DC; public static FieldInfo region_Sorg_DC = new FieldInfo("mdm_MaterialDetermination", "Region_Sorg_DC");
        [Column]
        public string Region_Sales_Organization { get { return _Region_Sales_Organization; } set { _Region_Sales_Organization = value; EntityState.FieldChange("Region_Sales_Organization"); } } private string _Region_Sales_Organization; public static FieldInfo region_Sales_Organization = new FieldInfo("mdm_MaterialDetermination", "Region_Sales_Organization");
        [Column]
        public string Region_Channel { get { return _Region_Channel; } set { _Region_Channel = value; EntityState.FieldChange("Region_Channel"); } } private string _Region_Channel; public static FieldInfo region_Channel = new FieldInfo("mdm_MaterialDetermination", "Region_Channel");
        [Column]
        public string Region_Division { get { return _Region_Division; } set { _Region_Division = value; EntityState.FieldChange("Region_Division"); } } private string _Region_Division; public static FieldInfo region_Division = new FieldInfo("mdm_MaterialDetermination", "Region_Division");
        [Column]
        public string Region_Valid_From { get { return _Region_Valid_From; } set { _Region_Valid_From = value; EntityState.FieldChange("Region_Valid_From"); } } private string _Region_Valid_From; public static FieldInfo region_Valid_From = new FieldInfo("mdm_MaterialDetermination", "Region_Valid_From");
        [Column]
        public string Region_Valid_To { get { return _Region_Valid_To; } set { _Region_Valid_To = value; EntityState.FieldChange("Region_Valid_To"); } } private string _Region_Valid_To; public static FieldInfo region_Valid_To = new FieldInfo("mdm_MaterialDetermination", "Region_Valid_To");
        [Column]
        public string Region_Proposed_Reason { get { return _Region_Proposed_Reason; } set { _Region_Proposed_Reason = value; EntityState.FieldChange("Region_Proposed_Reason"); } } private string _Region_Proposed_Reason; public static FieldInfo region_Proposed_Reason = new FieldInfo("mdm_MaterialDetermination", "Region_Proposed_Reason");

        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("mdm_MaterialDetermination", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("mdm_MaterialDetermination", "Status");


    }
}
